package com.ssmp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ssmp.domain.Book;

import java.util.List;

public interface BookService {
    Boolean addBook(Book book);
    Boolean delBook(Integer id);
    Boolean updateBook(Book book);
    Book queryBookById(Integer id);
    List<Book>queryAllBook();
    IPage<Book> getPage(int current,int size);
}
